package com.upup.train_management.service;

import com.upup.train_management.entity.Ticket;

public interface BookingService {
    Ticket bookTicket(Ticket ticket);
    boolean cancelBooking(Long ticketId, Long userId);
    boolean checkAvailability(Long scheduleId);
    String assignSeat(Long scheduleId, boolean isFirstClass);
}